//userpage.js
//获取应用实例

var app = getApp();
Page({
    data: {
        motto: '个人信息',
        userinfo: {},
        tips:'你吖手速好快^0^',
        handSpeedIndex:0
    },
    onLoad: function () {
        console.log('onLoad');
        var that = this;
        app.getUserInfo(function (data) {
            console.log(data);
            that.setData({
                userinfo: data

            })
        })
    },
    gethandspeed: function (e){//
    console.log(e);
        this.setData({
            handSpeedIndex:this.data.handSpeedIndex+1
        })
       
    },
    onShareAppMessage: function () {
        return { title: '免费停车啊index', path: '/pages/index' }
    }
})